Nowadays context-aware adaptation is becoming an important\udfeature for pervasive computing applications. In this paper we\udpresent JCOOL, a COntext Oriented Language tailored to handle\udcontext awareness in Java applications. JCOOL exploits Aspect\udOriented techniques so that context changes detection and related\udadaptations can be considered as two separated crosscutting\udconcerns with respect to the core “business logic” of new or\udlegacy Java applications. Moreover, mobile and pervasive\udapplications generally rely on middlewares that hide the\udcomplexity of the underlying environment. In order to show how\udJCOOL support can be introduced into middleware based\udapplication, in the second part of the paper we also describe\udJCOOL integration in SMILE, a Middleware Independent\udLayer developed in the scope of the SMS project.
展开▼